<html xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:insert="~{ /common/common_header:: meta('版本配置')}"></div>
    <div th:insert="~{ /common/common_header:: base}"></div>
    <div th:insert="~{ /common/common_header:: table}"></div>
    <div th:insert="~{ /common/common_header:: editable}"></div>
    <link th:href="@{/assets/css/version/version.css}" rel="stylesheet" type="text/css"/>
</head>
<body>
<!--模态框loading-->
<div th:insert="~{ /common/common_loading:: loading}"></div>
<!--模态框loading-->
<!--顶部导航条(用户信息)-->
<div th:insert="~{ /common/common_bar:: navbar}"></div>
<!--顶部导航条(用户信息)-->
<!--主体-->
<div class="container-fluid ">
    <div class="row">

        <!--左侧导航栏-->
        <div th:insert="~{ /common/common_menu:: menus}"></div>
        <!--左侧导航栏-->

        <!--右侧主题部分 configEdit start-->
        <div class="col-xs-12 col-sm-9 col-lg-10" id="configEdit" style="display: inline-block">

            <!--通用的tab-->
            <div th:insert="~{ /common/common_tab::tab('版本号')}"></div>
            <!--通用的tab-->

            <!--工具栏-->
            <div th:insert="~{ /common/common_bar:: toolbar('版本筛选')}"></div>
            <!--工具栏-->

            <!--列表-->
            <div th:insert="~{ /common/common_body:: list}"></div>
            <!--列表-->

            <!--用做信息的添加-->
            <form id="add" class="form-horizontal" method="post" style="display: none">
                <div class="panel panel-default" style="position: relative;margin-top: 10px;">

                    <div th:insert="~{ /common/common_bar:: confirm('版本号')}"></div>

                    <div class="panel-body" style="margin-top: 20px;">
                        <div class="form-group required">
                            <label for="" class="col-sm-1 control-label">版本编号</label>
                            <div class="col-sm-4">
                                <input type="text" name="version" class="form-control val" placeholder="版本编号" maxlength="20">
                            </div>
                        </div>

                        <div class="form-group required">
                            <label for="" class="col-sm-1 control-label">关联用户</label>
                            <div class="col-sm-4">
                                <select class="js-example-basic-single form-control val" name="user" id="dropdown_user">
                                </select>
                            </div>
                        </div>

                        <div class="form-group required">
                            <label for="" class="col-sm-1 control-label">说明</label>
                            <div class="col-sm-4">
                                <input type="text" name="desc" class="form-control val" placeholder="说明" maxlength="100">
                            </div>
                        </div>

                    </div>
                </div>
            </form>
            <!--用做信息的添加或者删除-->

        </div>
        <!--右侧主题部分 configEdit end-->
    </div>
</div>
</div>

<!--都要依赖的基础js-->
<div th:insert="~{ /common/common_foot:: base}"></div>
<!--表格相关-->
<div th:insert="~{ /common/common_foot:: table}"></div>
<!--提示框 alert confirm-->
<div th:insert="~{ /common/common_foot:: bootbox}"></div>
<!--导出表格-->
<div th:insert="~{ /common/common_foot:: export}"></div>
<!--行内编辑,放在表格初始化之后-->
<div th:insert="~{ /common/common_foot:: editable}"></div>

<!--自定义的js-->
<script th:src="@{/assets/js/version/version.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/version/ajax.js}" type="text/javascript"></script>

</body>
</html>
